package com.cans.lightning.business.system.entity;

import com.cans.lightning.base.entity.BaseEntity;
import lombok.Getter;
import lombok.Setter;
import org.beetl.sql.annotation.entity.Column;
import org.beetl.sql.annotation.entity.Table;

/**
 * 数据字典
 *
 * @author cans
 * @date 2021-03-29 15:21
 **/
@Getter
@Setter
@Table(name = "sys_dictionary")
public class Dictionary extends BaseEntity {

    /**
     * 编号
     */
    @Column("code")
    private String code;

    /**
     * 名称
     */
    @Column("name")
    private String name;

    /**
     * 排序号
     */
    @Column("idx")
    private Integer idx;
}
